package com.zjcloud.motr.domain;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zjcloud.common.annotation.Excel;
import com.zjcloud.common.core.domain.BaseEntity;

/**
 * 教材信息对象 zjy_textbook
 * 
 * @author ruoyi
 * @date 2024-08-17
 */
public class ZjyTextbook extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键标识 */
    private Long id;

    /** 教材标题 */
    @Excel(name = "教材标题")
    private String title;

    /** 作者 */
    @Excel(name = "作者")
    private String author;

    /** ISBN编号 */
    @Excel(name = "ISBN编号")
    private String isbn;

    /** 版本号 */
    @Excel(name = "版本号")
    private Long edition;

    /** 出版社 */
    @Excel(name = "出版社")
    private String publisher;

    /** 出版日期 */
    @Excel(name = "出版日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date publicationDate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setAuthor(String author) 
    {
        this.author = author;
    }

    public String getAuthor() 
    {
        return author;
    }
    public void setIsbn(String isbn) 
    {
        this.isbn = isbn;
    }

    public String getIsbn() 
    {
        return isbn;
    }
    public void setEdition(Long edition) 
    {
        this.edition = edition;
    }

    public Long getEdition() 
    {
        return edition;
    }

    public String getPublisher() {
        return publisher;
    }

    public void setPublisher(String publisher) {
        this.publisher = publisher;
    }

    public Date getPublicationDate() {
        return publicationDate;
    }

    public void setPublicationDate(Date publicationDate) {
        this.publicationDate = publicationDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("author", getAuthor())
            .append("isbn", getIsbn())
            .append("edition", getEdition())
            .append("publisher", getPublisher())
            .append("publicationDate", getPublicationDate())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
